<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
	<head th:include="inc/ietm::head">
	</head>
	<body>
		<!--返回-->
		<div class="back" onclick="history.go(-1)"><img th:src="@{/images/back.png}" /></div>
		<div th:include="header :: header"></div>
		<div class="header-title">
			<span>编辑注释</span>
		</div>
		<div class="spare-a">
			<div class="save-bg"><a href="#" class="spare-tj" onclick="$('#editForm').submit(); ">保 存</a></div>
			<form name="form" method="post" id="editForm"  enctype="multipart/form-data" th:action="@{/ietm/commentTags/saveOrUpdate22}">
			<div class="spare-add" th:object="${commentTags}">
				<ul>
				<input type="hidden" name="posX" th:value="*{posX}"/>
				<input type="hidden" name="posY" th:value="*{posY}"/>
				<input type="hidden" name="id" th:value="*{id}"/>
				<input type="hidden" name="type" value="comment"/>
				<input type="hidden" name="dmodelId" th:value="*{dmodelId}"/>
				<input type="hidden" name="projectId" th:value="*{projectId}"/>
					<li>
						<div class="spare-addl">数据模块编码：</div>
						<div class="spare-addr"><input th:value="*{code}" name="code" readonly="readonly" type="text" class="spare-add-input" /></div>
					</li>
					<li>
						<div class="spare-addl">标题：</div>
						<div class="spare-addr"><input type="text" class="spare-add-input" name="title" th:value="*{title}"/></div>
					</li>
					<li>
						<div class="spare-addl">可见方式：</div>
						<div class="spare-addr">
						<select class="spare-add-select" name="visibility">
				  	  <option value="0">共享</option>
				  	  <option value="1">私有</option>
				  	</select>
						</div>
					</li>
					<li>
						<div class="spare-addl">所属用户：</div>
						<div class="spare-addr">
						<input type="text" readonly="readonly" class="spare-add-input" name="userName" th:value="*{userName}"/></div>
					</li>
					<!--<li>
						<div class="spare-addl">附件：</div>
						 <div class="spare-addr">
								<input type="text" name="uploadfile" class="spare-add-input" />
								<input type="button" name="submit" value="上 传" onClick="$('input[name=\'file\']').click();" class="uploadfile" />
								<input type="file" name="file" style="display:none;" onChange="$('input[name=\'uploadfile\']').val(this.value);" />
						</div>
						<div class="spare-addr">
						<input type="file" name="file"  />
				   		</div>
					</li> -->
					<li>
						<div class="spare-addl">日期：</div>
						<div class="spare-addr"><input type="text" readonly="readonly" class="spare-add-input" name="publishDate" th:value="*{publishDate}" /></div>
					</li>
					<li>
						<div class="spare-addl">内容：</div>
						<div class="spare-addr"><textarea class="spare-add-textarea" th:text="*{content}" name="content"></textarea></div>
					</li>
				</ul>
			</div>
			</form>
		</div>
	</body>
</html>
